.conmon-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #fff;
}

.conmon-header {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: space-between;
  line-height: 40px;
  padding: 0 5px;
  border-bottom: 1px solid #cccccc;
  position: fixed;
  top: 0;
  background: white;
  z-index: 100;
}

.conmon-header>div {
  width: 50px;
}

.conmon-main {
  width: 100%;
  flex: 1;
  background-color: #f5f6f7;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.conmon-tab-title {
  width: 100%;
  height: 40px;
  display: flex;
  line-height: 40px;
  background-color: #ffffff;
  margin: 5px 0;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 40px;
  /* header 高度 */
  z-index: 90;
}

.conmon-tab-title>div {
  width: 50%;
  text-align: center;
  font-size: 16px;
  color: #9aa0a6;
}

.conmon-tab-title>.active {
  color: #1677ff;
  position: relative;
}

.conmon-tab-title>.active:after {
  content: '';
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 0;
  height: 2px;
  background: #1677ff;
}

.symptom-container {
  width: 100%;
  height: auto;
  display: flex;
  flex: 1;
}

.symptom-left {
  width: 100px;
  background: #f5f6f7;
  position: sticky;
  top: 80px;
  /* header40 + tab40 */
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.symptom-left-item {
  width: 100%;
  text-align: center;
  height: 60px;
  line-height: 60px;
  color: #444;
}

.symptom-left-item.active {
  background: #fff;
  color: #1677ff;
  position: relative;
}

.symptom-left-item.active:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #1677ff;
}

.symptom-right {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  padding: 8px 12px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  align-items: flex-start;
  /* 防止子项被拉伸占满高度 */
  align-content: flex-start;
  /* 多行内容贴顶排列 */
  box-sizing: border-box;
}

.symptom-right>div {
  height: 44px;
  line-height: 44px;
  padding: 0 8px;
  margin: 4px 8px;
  font-size: 16px;
  color: #202124;
  min-width: calc(50% - 16px);
  box-sizing: border-box;
}

.medicine-container {
  width: 100%;
  height: auto;
  flex: 1;
  display: flex;
}

.medicine-left {
  width: 100px;
  background: #f5f6f7;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.medicine-left-item {
  width: 100%;
  text-align: center;
  height: 60px;
  line-height: 60px;
  color: #444;
}

.medicine-left-item.active {
  background: #fff;
  color: #1677ff;
  position: relative;
}

.medicine-left-item.active:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #1677ff;
}

.medicine-right {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  padding: 8px 12px 12px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  align-items: flex-start;
  align-content: flex-start;
  box-sizing: border-box;
  gap: 12px;
  /* 控制列间距 */
}

.medicine-right-items {
  flex: 0 0 calc((100% - 24px) / 3);
  /* 一行三个（两列间距=2*12px） */
  width: calc((100% - 24px) / 3);
  height: 150px;
  text-align: center;
  box-sizing: border-box;
}

.items-img .adm-image {
  display: inline-block;
}

.items-text {
  width: 100%;
  word-wrap: break-word;
  height: 44px;
  font-size: 14px;
  color: #202124;
}

/* 移动端适配 */
@media (max-width: 480px) {
  .symptom-right>div {
    font-size: 15px;
    min-width: calc(50% - 16px);
  }

  .medicine-right-items {
    flex-basis: calc((100% - 12px) / 2);
    /* 小屏两列（1个间距=12px） */
    width: calc((100% - 12px) / 2);
    height: 140px;
  }
}

@media (max-width: 360px) {
  .symptom-left {
    width: 92px;
  }

  .medicine-left {
    width: 92px;
  }

  .medicine-right-items {
    width: calc(50% - 10px);
    height: 130px;
  }
}

/* 详情页样式 */
.detail-container {
  background: #fff;
}

.detail-main {
  margin-top: 40px;
  padding: 8px 12px;
}

.detail-title {
  height: 36px;
  line-height: 36px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.detail-disclaimer {
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.detail-section {
  margin-bottom: 14px;
}

.detail-section-title {
  color: #1f75cb;
  font-size: 18px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.detail-section-content {
  font-size: 16px;
  color: #333;
  line-height: 28px;
}